var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/sitemap', function(req, res, next) {
  res.render('sitemap', { title: '网址地图' });
});
router.get('/', function(req, res, next) {
  res.render('index', { title: '童忆园智慧校园云平台,为幼儿园创造价值,关怀幼儿健康成长,幼儿园管理,幼儿园软件,幼儿园硬件' });
});

//
router.get('/pages/agentAlliance/agent_alliance', function(req, res, next) {
  res.render('pages/agentAlliance/agent_alliance', { title: '童忆园面向全国招募合伙人|童忆园智慧校园云平台,为幼儿园创造价值,关怀幼儿健康成长,幼儿园管理,幼儿园软件,幼儿园硬件' });
});

router.get('/pages/school/school', function(req, res, next) {
res.render('pages/school/school', { title: '童忆学院您身边的幼教专家|童忆园智慧校园云平台' });
});
router.get('/pages/news/news', function(req, res, next) {
  res.render('pages/news/news', { title: '新闻中心|童忆园智慧校园云平台' });
});
router.get('/pages/news/news_details', function(req, res, next) {
  res.render('pages/news/news_details', { title: '新闻中心|童忆园智慧校园云平台' });
});
router.get('/pages/aboutUs/about_us', function(req, res, next) {
  res.render('pages/aboutUs/about_us', { title: '关于我们|童忆园智慧校园云平台' });
});

router.get('/pages/login/login', function(req, res, next) {
  res.render('pages/login/login', { title: '我要登陆|童忆园智慧校园云平台' });
});

//产品
router.get('/pages/product/class_mange', function(req, res, next) {
  res.render('pages/product/class_mange', { title: '幼儿园智能园务管理|童忆园智慧校园云平台' });
});
router.get('/pages/product/bloc_mange', function(req, res, next) {
  res.render('pages/product/bloc_mange', { title: '幼儿园教育集团管理|童忆园智慧校园云平台' });
});
router.get('/pages/product/edu_teaching', function(req, res, next) {
  res.render('pages/product/edu_teaching', { title: '幼儿园数字化教务教学|童忆园智慧校园云平台' });
});
router.get('/pages/product/interactive_home', function(req, res, next) {
res.render('pages/product/interactive_home', { title: '幼儿园家园互动|童忆园智慧校园云平台' });
});
router.get('/pages/product/recruit_student', function(req, res, next) {
res.render('pages/product/recruit_student', { title: '幼儿园宣传招生|童忆园智慧校园云平台' });
});
router.get('/pages/product/safety', function(req, res, next) {
res.render('pages/product/safety', { title: '360度守护幼儿安全健康成长|童忆园智慧校园云平台' });
});


module.exports = router;